package com.atguigu.yeb.server.service;

import com.atguigu.yeb.server.base.R;
import com.atguigu.yeb.server.pojo.entity.TAdmin;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huafeng
 * @since 2021-12-04
 */
public interface TAdminService extends IService<TAdmin> {

    TAdmin getUserByName(String name);

    R login(String username, String password, HttpServletRequest request);
}
